package com.flyme.module.file.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import com.flyme.common.core.model.base.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 课程评论
 *
 * @author zyf
 * @date 2019-1-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("sys_coursecomment")
public class SysCourseComment extends AbstractEntity<SysCourseComment> {
    private static final long serialVersionUID = 1L;
    /**
     * 评论目标Id
     */
    private String targetId;
    /**
     * 目标实体Course：课程
     */
    private String targetEntity;
    /**
     * 评论内容
     */
    private String commentContent;
    /**
     * 评论人
     */
    private String replyUserId;
    /**
     * 子评论人
     */
    private String subReplyUserId;
    /**
     * 评论类型（1一级评论2二级评论）
     */
    private Integer replyType;
}
